package o;

import com.huawei.appgallery.foundation.store.bean.user.GetPersonalInfoResBean;

public class ekg {
    private static final Object ˋ = new Object();
    private static ekg ˏ;
    private long ʻ = -1;
    private boolean ʼ = false;
    private int ˊ;
    private GetPersonalInfoResBean ˎ;
    private boolean ॱ = false;

    public boolean ˋ() {
        return this.ʼ;
    }

    public void ॱ(boolean z) {
        this.ʼ = z;
    }

    public static ekg ॱ() {
        ekg o_ekg;
        synchronized (ˋ) {
            if (ˏ == null) {
                ˏ = new ekg();
            }
            o_ekg = ˏ;
        }
        return o_ekg;
    }

    public void ˏ() {
        ˊ(null);
        this.ˊ = 0;
        this.ॱ = false;
        ekr.ˎ();
        this.ʼ = false;
        this.ʻ = -1;
    }

    public GetPersonalInfoResBean ˊ() {
        return this.ˎ;
    }

    public void ˊ(GetPersonalInfoResBean getPersonalInfoResBean) {
        this.ˎ = getPersonalInfoResBean;
        if (getPersonalInfoResBean != null && getPersonalInfoResBean.ॱ() != null && getPersonalInfoResBean.ॱ().ˏ() > this.ʻ && !dof.ˋ(getPersonalInfoResBean.ॱ().ˋ())) {
            ॱ(true);
            this.ʻ = getPersonalInfoResBean.ॱ().ˏ();
        }
    }

    public int ˎ() {
        return this.ˊ;
    }

    public void ˊ(int i) {
        this.ˊ = i;
    }

    public boolean ʻ() {
        return this.ॱ;
    }

    public void ˊ(boolean z) {
        this.ॱ = z;
    }
}
